import React from 'react';

const HandleClick = () =>{
    console.log(1);
}
const FunCmp = () => {
    return (
        <div onClick={HandleClick}>
            这是函数组件
        </div>
    );
    
}

export default FunCmp;
